package com.crois.barrier.web.configuration;


import com.crois.barrier.web.loadbalance.rule.NacosLoadBalancerByServiceName;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Hou Ze Yu
 * @description
 * @date 2020/8/5
 */

@Configuration
public class SpringCloudConfiguration {

    @Bean
    public NacosLoadBalancerByServiceName nacosLoadBalancerByServiceName(){
        return new NacosLoadBalancerByServiceName();
    }

}
